package com.news.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;


@Data
@ApiModel
public class PageDTO {
    @ApiModelProperty(value = "页码",required = true,dataType = "integer",example ="1")
    Integer pageNum;//页码
    @ApiModelProperty(value = "每页大小",required = true,dataType = "integer",example ="10")
    Integer pageSize;//页大小
    @ApiModelProperty(value = "其他字段模糊查询",required = false,dataType = "string",example ="cgx")
    String vagueParam;//模糊查询

}
